Repository navigation
opentelemetry: Bump collector to 0.165.0, view traces via debug logs - #1647
Merged
Merged
Conversation
otel-collector 0.165.0 removes the zpages `/debug/tracez` trace page the example used for its final step (it now 404s; the collector logs "zPages span processor registration is not available"). The collector is already configured with the `debug` exporter, so rework the step to view traces in the collector logs instead. - Dockerfile: bump collector 0.151.0 -> 0.165.0 (supersedes the dependabot bump envoyproxy#1620, which was red on this example). - verify.sh: replace the tracez check with a check of the exported spans (`routeToEnvoy1`, `routeToEnvoy2ViaEnvoy1`) in the collector output. - example.rst: Step 4 now shows `docker compose logs opentelemetry` and the exported spans (docs-first, 1:1 with verify.sh); drop the two UI screenshots and the web-UI references. - Drop the now-unused zpages extension and its published port. Verified end-to-end locally against envoyproxy/envoy:dev (verify.sh green). Signed-off-by: Ryan Northey <ryan@synca.io>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the Collector upgrade and replacement of the removed trace UI with log-based span inspection.
No open issues 🎉
What changed in this PR
Updates the OpenTelemetry sandbox to Collector 0.165.0 and replaces the removed trace-viewing UI with debug-exporter logs, addressing the compatibility issue behind #1620.
Changes:
- Bumps the Collector image and pinned digest.
- Updates documentation and verification to inspect exported spans in Collector logs.
- Removes the unused zpages extension and its published port.
| File | Description |
|---|---|
opentelemetry/verify.sh |
Waits for and checks both expected span names in Collector logs. |
opentelemetry/otel-collector-config.yaml |
Removes the zpages extension while retaining health checks. |
opentelemetry/example.rst |
Replaces UI instructions and screenshots with log-viewing steps and sample output. |
opentelemetry/Dockerfile-opentelemetry |
Pins Collector 0.165.0 and its image digest. |
opentelemetry/docker-compose.yaml |
Removes the published zpages UI port. |
Review effort: Balanced
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 20, 2026
Sandbox screenshots are provided by each example's _static/ directory in envoyproxy/examples (bundled via @envoy-examples//:docs). Two opentelemetry images were committed directly here in 2022 (envoyproxy#22988), before that convention, and are the only images under start/sandboxes/_static. Gitignore the directory so images are not committed here again, and remove the two legacy opentelemetry screenshots: the example no longer references them (it now shows the collector debug-log output instead, envoyproxy/examples#1647). Signed-off-by: Ryan Northey <ryan@synca.io>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 20, 2026
Sandbox screenshots are provided by each example's _static/ directory in envoyproxy/examples (bundled via @envoy-examples//:docs). Two opentelemetry images were committed directly here in 2022 (envoyproxy#22988), before that convention, and are the only images under start/sandboxes/_static. Gitignore the directory so images are not committed here again, and remove the two legacy opentelemetry screenshots: the example no longer references them (it now shows the collector debug-log output instead, envoyproxy/examples#1647). Signed-off-by: Ryan Northey <ryan@synca.io>
phlax
added a commit
to envoyproxy/envoy
that referenced
this pull request
Dec 2, 2026
#49495) Sandbox screenshots are provided by each example's `_static/` directory in envoyproxy/examples (bundled into the docs via `@envoy-examples//:docs`). Two opentelemetry images were committed directly here in 2022 (#22988), before that convention — and they are the only images under `docs/root/start/sandboxes/_static/`. This: - gitignores `docs/root/start/sandboxes/_static/` so images aren't committed here again, and - removes the two legacy `opentelemetry-ui*.png`. The opentelemetry example no longer references them — it now shows the collector's debug-log output instead (envoyproxy/examples#1647). Depends on envoyproxy/examples#1647 (which drops the `.. image::` references). CI here will show whether the docs render is affected before that lands. Signed-off-by: Ryan Northey <ryan@synca.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Takes the otel-collector bump to
0.165.0(supersedes the dependabot PR #1620, which was red on this example) by reworking the example's trace-viewing step to match.Why #1620 failed: 0.165.0 removes the zpages
/debug/tracezpage the example's final step browsed — it now 404s, and the collector logszPages span processor registration is not availableat startup. Everything else works; only "view the traces" broke.Why log output, not a backend UI: the example deliberately used the collector's (minimal) built-in tracez UI because it was vendor-neutral and visual. 0.165.0 removes it, and the collector itself ships no replacement trace viewer. A visual UI would now require wiring in a vendor backend (Jaeger/Zipkin/Tempo) — which this example intentionally avoids (that's what the
jaeger-tracing/zipkinexamples are for). So it falls back to the only vendor-neutral view left: the collector's owndebugexporter output.Rework (docs-first, 1:1): the collector is already configured with the
debugexporter, so traces are logged to its stdout. Step 4 now views them viadocker compose logs opentelemetry, andverify.shchecks the exported spans (routeToEnvoy1,routeToEnvoy2ViaEnvoy1). The two tracez screenshots are dropped — the step is now a text code-block of the actual span output. The now-unused zpages extension and its published port are removed.Verified end-to-end locally against
envoyproxy/envoy:dev—verify.shis green.Note: the two orphaned images (
opentelemetry-ui.png,opentelemetry-ui-traces.png) are committed in the envoy repo understart/sandboxes/_static/; removed there in envoyproxy/envoy#49495 (parked until this lands).(bot assisted)